package com.hs.mapper;

import com.hs.entity.PsychKnow;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PsychKnowMapper {
    int addPsychKnow(PsychKnow psychKnow);
    int deletePsychKnow(int id);
    int updatePsychKnow(PsychKnow psychKnow);
    PsychKnow getPsychKnowById(int id);
    List<PsychKnow> getAllPsychKnowByPage(PsychKnow psychKnow);
}
